package com.zhq.blog.core.domain.money;


import javax.persistence.Entity;

import com.zhq.blog.core.domain.BasePersistentDomain;

@Entity
public class Card extends BasePersistentDomain<CardRepository> {
	
	private String name;   //充值卡名字名字
	private String pricture;   //充值卡图片
	private long price;//充值卡价格
	private String card_head;//自定义卡头
	private int random_num;//随机位数
	private long random_type;   //进货折扣
	private long update_id;       //是否设置靓号 1 未是 0不是
	private long isVip;//是否升级为VIP，1是 0不是
	private long get_time;   //VIP时长
	private long add_gold;//增加金币
	private long add_experience;   //增加经验
	private long display;//1显示 0不显示、
	private String buy_url;//购买地址
	private String content;//充值卡介绍
	
	public Card(){}
	
	public Card(String name, String pricture, long price, String card_head,
			int random_num, long random_type, long update_id, long isVip,
			long get_time, long add_experience,long add_gold, long display, String buy_url,
			String content) {
		super();
		this.name = name;
		this.pricture = pricture;
		this.price = price;
		this.card_head = card_head;
		this.random_num = random_num;
		this.random_type = random_type;
		this.update_id = update_id;
		this.isVip = isVip;
		this.get_time = get_time;
		this.add_gold = add_gold;
		this.add_experience = add_experience;
		this.display = display;
		this.buy_url = buy_url;
		this.content = content;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getPricture() {
		return pricture;
	}

	public void setPricture(String pricture) {
		this.pricture = pricture;
	}

	public long getAdd_gold() {
		return add_gold;
	}

	public void setAdd_gold(long add_gold) {
		this.add_gold = add_gold;
	}

	public long getPrice() {
		return price;
	}

	public void setPrice(long price) {
		this.price = price;
	}

	public String getCard_head() {
		return card_head;
	}

	public void setCard_head(String card_head) {
		this.card_head = card_head;
	}

	

	public int getRandom_num() {
		return random_num;
	}

	public void setRandom_num(int random_num) {
		this.random_num = random_num;
	}

	public long getRandom_type() {
		return random_type;
	}

	public void setRandom_type(long random_type) {
		this.random_type = random_type;
	}

	public long getUpdate_id() {
		return update_id;
	}

	public void setUpdate_id(long update_id) {
		this.update_id = update_id;
	}

	public long getIsVip() {
		return isVip;
	}

	public void setIsVip(long isVip) {
		this.isVip = isVip;
	}

	public long getGet_time() {
		return get_time;
	}

	public void setGet_time(long get_time) {
		this.get_time = get_time;
	}

	public long getAdd_experience() {
		return add_experience;
	}

	public void setAdd_experience(long add_experience) {
		this.add_experience = add_experience;
	}
	

	public long getDisplay() {
		return display;
	}

	public void setDisplay(long display) {
		this.display = display;
	}

	public String getBuy_url() {
		return buy_url;
	}

	public void setBuy_url(String buy_url) {
		this.buy_url = buy_url;
	}

	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	
	
}
